import { ecs } from "./core/ecs/ECS";
import { CommonUtil } from "./module/common/CommonUtil";
import { dev } from "./module/config/Config";
import { RoomService, RoomServiceRootSystem } from "./service/room/RoomService";




/** 网关服务器对象 */
export var rs: RoomService = null!

function main() {
    dev();

    CommonUtil.init(new RoomServiceRootSystem());

    rs = ecs.getEntity<RoomService>(RoomService);
    rs.start()
}

main();